package cn.linstudy.blog.dto;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @Author XiaoLin
 * @Date 2021/12/22 17:10
 * @Description
 */
@Data
public class DictionaryDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编码")
    @NotBlank(message = "编码不能为空")
    private String value;

    @ApiModelProperty(value = "业务码")
    @NotBlank(message = "业务码不能为空")
    private String name;

    @ApiModelProperty(value = "业务码名称")
    @NotBlank(message = "业务码名称不能为空")
    private String remark;

    @ApiModelProperty(value = "编码名称")
    @NotBlank(message = "编码名称不能为空")
    private String meaning;

}